package org.example.platform.beans.factory.Autoware.support;

import org.example.platform.beans.factory.Autoware.io.Resource;
import org.example.platform.beans.factory.Autoware.io.ResourceLoader;

public class AbstractBeanDefinitionReader implements BeanDefinitionReader{
    final BeanDefinitionRegistry registry;
    ResourceLoader resourceLoader;

    public AbstractBeanDefinitionReader(BeanDefinitionRegistry registry) {
        this(registry,(ResourceLoader)null);
    }

    public AbstractBeanDefinitionReader(BeanDefinitionRegistry registry, ResourceLoader resourceLoader) {
        this.registry = registry;
        this.resourceLoader = resourceLoader;
    }

    @Override
    public BeanDefinitionRegistry getRegistry() {
        return registry;
    }

    @Override
    public ResourceLoader getResourceLoader() {
        return resourceLoader;
    }

    @Override
    public void loadBeanDefinitions(Resource resource) throws Exception {

    }

    @Override
    public void loadBeanDefinitions(Resource... resource) throws Exception {

    }

    @Override
    public void loadBeanDefinitions(String location) throws Exception {

    }
}
